package com.crack.simpleapiclientsdk.annotation;


import com.crack.simpleapiclientsdk.enums.RequestMethodEnum;

import java.lang.annotation.*;

import static com.crack.simpleapiclientsdk.enums.RequestMethodEnum.GET;


/**
 * @author 25169
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RequestMethod {

    /**
     * 请求方法
     *
     * @return
     */
    RequestMethodEnum method() default GET;
//    String method() default "GET";
}
